import request from '@/utils/request'

const adminManage = {
    // 查询列表
    getList(query) {
        return request({
          url: '/com.mmk.hospitaladmin.api.OpenMmkHospitalAdminProvider/1.0.0/listHospitalUser.html',
          method: 'post',
          data: query
        })
    },
    //医院名称下拉列表
    hospitalSelect(query){
      return request({
          url:'/com.mmk.reservation.api.AdminHospitalProvider/1.0.0/hospitalDropDownWithPermission.html',
          method: 'post',
          data: query
      })
  },
    
    // 添加
    add(query){
      return request({
          url:'/com.mmk.hospitaladmin.api.OpenMmkHospitalAdminProvider/1.0.0/newHospitalUser.html',
          method: 'post',
          data: query
      })
  },
   // 切换状态
   togStatus(query){
    return request({
        url:'/com.mmk.hospitaladmin.api.OpenMmkHospitalAdminProvider/1.0.0/updateUserStatus.html',
        method: 'post',
        data: query
    })
},
// 重置密码
resetUserPassword(query){
  return request({
      url:'/com.mmk.hospitaladmin.api.OpenMmkHospitalAdminProvider/1.0.0/resetUserPassword.html',
      method: 'post',
      data: query
  })
},

}


export default adminManage

